package CircleDemo01;

public class Circle {

    private static final double pai = 3.14;
    private double r;
    public Circle(double r){
        this.r = r;
    }

    public double area(){
        return pai * r * r;
    }

}
